#include "iosgViewerEvent.h"
#include "mm3dViewerEvent.h"

IOsgViewerEvent* IOsgViewerEventFactory::create(osgViewer::View *view, osg::Group *root)
{
    osg::Group* editGroup = root->getChild(1)->asGroup();
    osg::Group* textGroup = root->getChild(2)->asGroup();
    return new CViewerEvent(view, root, editGroup, textGroup);
}

